package com.detection.hikvision.service;


import com.alibaba.fastjson2.JSONArray;
import com.detection.hikvision.domain.CameraPreviewResultView;

import java.util.List;

/**
 * @author LH
 * @date 2022/10/19 下午2:39
 */
public interface ArtemisCamerasService {


    /**
     * 获取监控点树信息
     * @param pageNo 页码
     * @param pageSize 每页查询数量
     * @return
     */
    String getCameraTreeList( Integer pageNo, Integer pageSize);

    JSONArray getCameraOnlineList(Integer pageNo, Integer pageSize, List<String> indexCodesList);
    /**
     * 获取预览视频流
     * @param cameraIndexCode 摄像头
     */
    CameraPreviewResultView getCameraPreviewUrls(String cameraIndexCode, Integer streamType, String protocol, Integer transmode);

    String getDoorEvents(String startTime,String endTime,Integer pageNo, Integer pageSize);
}
